using System.ComponentModel.DataAnnotations;
using Electric.Domain.Shared.Entitys.Todo;

namespace Electric.Application.Contracts.Dto.Todos;

public class TodoCreateDto
{
    /// <summary>
    /// 密码
    /// </summary>
    [Required]
    [StringLength(50)]
    public string Name { get; set; }

    /// <summary>
    /// 状态，0：禁用，1：正常
    /// </summary>
    [Required]
    public TodoStatus Status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [MaxLength(500)]
    public string? Remark { get; set; }

}

